﻿using WidgetsDesign.API.Models;

namespace WidgetsDesign.API.Services
{
    /// <summary>
    /// 管线打开
    /// </summary>
    public interface Izyxk_pipelineOpenedRepository
    {
        /// <summary>
        /// 创建管线打开作业许可证
        /// </summary>
        /// <param name="pipelineOpened"></param>
        void CreatepipelineOpened(zyxk_pipelineopenedModel pipelineOpened);
        /// <summary>
        /// 添加安全措施
        /// </summary>
        /// <param name="pipelineOpened"></param>
        void CreatepipelineOpenedRisk(zyxk_pipelineopenedModel pipelineOpened);
        /// <summary>
        /// 添加签名
        /// </summary>
        /// <param name="pipelineOpened"></param>
        void CreatepipelineOpenedSign(zyxk_pipelineopenedModel pipelineOpened);
        /// <summary>
        /// 保存
        /// </summary>
        /// <returns></returns>
        Task<bool> SaveAsync();

        /// <summary>
        /// pdf
        /// </summary>
        /// <param name="inputFilePath"></param>
        /// <param name="outputFilePath"></param>
        /// <param name="craneOperation"></param>
        /// <returns></returns>
        string zyxk_pipelineOpenedTopdf(string inputFilePath, string outputFilePath, zyxk_pipelineopenedModel craneOperation);

    }
}
